package com.itboye.ihomebank.adapter;

import java.util.List;

import android.content.Context;
import android.view.Gravity;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Toast;

import com.itboye.ihomebank.R;
import com.itboye.ihomebank.bean.HouseListBeanCopy.Rental;
import com.itboye.ihomebank.support.commonadapter.MutiplyCommonAdapter;
import com.itboye.ihomebank.support.commonadapter.ViewHolder;
/***
 * 示例adapter
 * @author mr.w
 *
 */
public class ZuJinAdapter extends MutiplyCommonAdapter<Rental>{

	int position;
	public ZuJinAdapter(Context context, List<Rental> datas, int... layoutId) {
		super(context, datas, layoutId);
		// TODO Auto-generated constructor stub
	}

	@Override
	public int getItemViewType(int position) {
		// TODO Auto-generated method stub
		
		return 0;
	}

	@Override
	public void convert(ViewHolder holder, Rental t, int type,final int position) {
		// TODO Auto-generated method stub

		holder.setText(R.id.text, t.getName());
	}

	@Override
	public void getItemPosition(int position) {
		// TODO Auto-generated method stub
		this.position=position;
	}

	

}
